package cn.tedu.crm.role.mapper;

import cn.tedu.crm.role.pojo.entity.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author tedu
* @description 针对表【role_permission(角色权限关联表)】的数据库操作Mapper
* @createDate 2025-03-14 13:52:58
* @Entity cn.tedu.crm.role.pojo.entity.RolePermission
*/
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    List<Long> selectPermissionIdsByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);
}
